/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DTO.Ghe;
import DAO.GheDAO;
import java.sql.ResultSet;

/**
 *
 * @author PC
 */
public class GheBUS {
     public static ResultSet  TimKiemTatCa() {
        return GheDAO.TimKiemTatCa();
    }
     public static boolean KiemTraTonTai(String MaNV)
    {
        return GheDAO.KiemTraTonTai(MaNV);
    }
     public static boolean Them(Ghe n) {
         return GheDAO.Them(n);
     }
    public static boolean Xoa(String id) {
         return GheDAO.Xoa(id);
     }
     public static boolean Update(Ghe NV,String id,String toa){
          return GheDAO.Update(NV,id,toa);
     }
}
